package de.unima.alcomox.mapping;

public class Similarity {
	
	
	public static double getJaccardDimilarity(Mapping m1, Mapping m2) {
		
		Mapping union = m1.getUnion(m2);
		Mapping intersection = m1.getIntersection(m2);
			
		
		return ((double)intersection.size() / (double)union.size());
	}

}
